
package com.kanjian.music.listener;

public interface DownloadListener {

    public final static int DOWNLOAD_STATUS_SUCCESS = 0;

    public final static int DOWNLOAD_STATUS_NETWORK_FAIL = -1;

    public final static int DOWNLOAD_STATUS_SERVICE_FAIL = -2;

    public final static int DOWNLOAD_STATUS_IO_FAIL = -3;

    void startDownload();

    void publishProgress(int progress);

    int finish();

}
